/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tableRouter = {
  path: '/plc-list',
  component: Layout,
  redirect: '/plc-list/complex-table',
  name: 'Plc-list',
  meta: {
    title: '设备管理',
    icon: 'table'
  },
  children: [
    {

      path: 'device-list',
      component: () => import('@/views/plc-list/device-list'),
      name: 'InlineEditTable',
      meta: { title: '设备列表'  }
    },
    {
      path: 'config-list',
      component: () => import('@/views/plc-list/config-list'),
      name: 'ComplexTable',
      meta: { title: '设备管理' }
    }
  ]
}
export default tableRouter
